Moderate: rh-python36-python security, bug fix, and enhancement update

Synopsis

Moderate: rh-python36-python security, bug fix, and enhancement update

Type/Severity

Security Advisory: Moderate

Topic

An update for rh-python36-python is now available for Red Hat Software Collections.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

The following packages have been upgraded to a later upstream version: rh-python36-python (3.6.9). (BZ#1709344)

Security Fix(es):

  • python: DOS via regular expression backtracking in difflib.IS_LINE_JUNK method in difflib (CVE-2018-1061)
  • python: Missing salt initialization in _elementtree.c module (CVE-2018-14647)
  • python: Cookie domain check returns incorrect results (CVE-2018-20852)
  • python: NULL pointer dereference using a specially crafted X509 certificate (CVE-2019-5010)
  • python: CRLF injection via the query part of the url passed to urlopen() (CVE-2019-9740)
  • python: CRLF injection via the path part of the url passed to urlopen() (CVE-2019-9947)
  • python: email.utils.parseaddr wrongly parses email addresses (CVE-2019-16056)
  • python: DOS via regular expression catastrophic backtracking in apop() method in pop3lib (CVE-2018-1060)
  • python: Integer overflow in Modules/_pickle.c allows for memory exhaustion if serializing gigabytes of data (CVE-2018-20406)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • urlsplit doesn't accept a NFKD hostname with a port number (BZ#1709340)
  • rh-python36 cannot unpickle datetime.date objects (BZ#1749103)

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.7 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7.7 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7.7 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.6 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7.6 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7.6 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.5 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7.5 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7.5 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7 ppc64le
  • Red Hat Software Collections (for RHEL Server for ARM) 1 aarch64
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 6 x86_64
  • Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 7 x86_64
  • Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 6 x86_64

Fixes

  • BZ - 1549191 - CVE-2018-1060 python: DOS via regular expression catastrophic backtracking in apop() method in pop3lib
  • BZ - 1549192 - CVE-2018-1061 python: DOS via regular expression backtracking in difflib.IS_LINE_JUNK method in difflib
  • BZ - 1631822 - CVE-2018-14647 python: Missing salt initialization in _elementtree.c module
  • BZ - 1664509 - CVE-2018-20406 python: Integer overflow in Modules/_pickle.c allows for memory exhaustion if serializing gigabytes of data
  • BZ - 1666519 - CVE-2019-5010 python: NULL pointer dereference using a specially crafted X509 certificate
  • BZ - 1688169 - CVE-2019-9740 python: CRLF injection via the query part of the url passed to urlopen()
  • BZ - 1695572 - CVE-2019-9947 python: CRLF injection via the path part of the url passed to urlopen()
  • BZ - 1709344 - Update Python 3 to 3.6.9 [rhscl-3.3.z]
  • BZ - 1740347 - CVE-2018-20852 python: Cookie domain check returns incorrect results
  • BZ - 1749103 - rh-python36 cannot unpickle datetime.date objects [rhscl-3.3.z]
  • BZ - 1749839 - CVE-2019-16056 python: email.utils.parseaddr wrongly parses email addresses

CVEs

References